<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="REFRESH" content="3600">
    <meta name="description" content="Video - Clip - Tamtay.vn - Vòng tay lớn mãi">
    <meta name="keywords" content="Blog, blogger, tamtay, tamtay.vn, hot blog, tags, giải trí, entertainment, Vietnam, tâm sự, cá nhân, cộng đồng, giới trẻ, 9x, tuổi teen, mộng mơ, vòng tay, video, video, music, Nhóm, thành viên, sự kiện, network, ca nhạc, ảnh, photo">
    <?php echo $this->headMeta();?>
	<title><?php echo ($this->layout()->title!="" ? $this->escape($this->layout()->title) : "") ?> | video | tamtay.vn</title>

<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
<link href="/css/style_all.css" rel="stylesheet" type="text/css" />

<?php echo $this->headLink();?>
<!--[if lte IE 7]>
<link href="/css/patches/patch_home.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/jqModal.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
<script type="text/javascript" src="/js/jquery.rater.js"></script>
<script type="text/javascript" src="/js/jquery.fancybox.js"></script>
<!-- <script type="text/javascript" src="/js/typingtext.js"></script> -->
<script type="text/javascript" src="/js/tooltip.js"></script>
<script type="text/javascript" src="/js/swfobject.js"></script>
<script type="text/javascript" src="/js/common20091022.js"></script>
<script type="text/javascript" src="/js/video_view.js"></script>
<script type="text/javascript" src="/js/video_comment.js"></script>
<script type="text/javascript" src="/js/sns.js"></script>

<?php echo $this->headScript();?>

</head>
<body>
<!--Start: Header-->
<div class="hdrWrap">
  <div class="hdr">
 	 <div class="hdrTop">
 	 	<a title="Trang chủ tamtay.vn" class="logo" href="http://www.tamtay.vn"><img alt="Tamtay.vn" src="/images/spacer.gif"/></a>
	  <?php
	  $user=$this->controller->getUser();
	  if ($user->uid>0)
	  {
	  ?>      
	  <div class="personal"> <span class="persText">Chào</span> 
	  <div class="persName" onmouseout="document.getElementById('persPlus').style.visibility='hidden'" onmouseover="document.getElementById('persPlus').style.visibility='visible'">
		<div id="persPlus" class="tt_ddmenu">
			  <a href="http://www.tamtay.vn/myprofile/<?php echo $user->uid?>/edit/basic">Thông tin cá nhân</a>
			  <a href="http://www.tamtay.vn/mymessage/inbox">Tin nhắn</a>
		</div>
		<span><a href="http://tamtay.vn/home/<?php echo $user->name?>"><?php echo $user->name?></a></span>
	  </div>
      <a href="/user/logout" onclick="return confirm('Bạn chắc chắn thoát ra')" class="persOut">Thoát</a> </div>
	  <?php
	  }
	  ?>      
	  <div class="searchHdr"> 
	  <?
		if (isset($_GET["q"]))
		{
			$q=$_GET["q"];
		}
		else
		{
			$q="";
		}
		?>
    	<div onmouseover="document.getElementById('webPlus').style.visibility='visible'" onmouseout="document.getElementById('webPlus').style.visibility='hidden'" onclick="document.getElementById('webPlus').style.visibility='hidden'" style="float: left;">
			<div style="visibility: hidden;" id="webPlus" class="tt_ddmenu"> 
				<a id="search_cat" href="#" onClick="changeSearhType('all', 'Toàn bộ');">Toàn bộ</a> 
				<a id="search_cat1" name="video" href="#" onClick="changeSearhType('video', 'Video');">Video</a> 
				<a id="search_cat2" name="photo" href="#" onClick="changeSearhType('photo', 'Ảnh');">Ảnh</a> 
				<a id="search_cat3" name="music" href="#" onClick="changeSearhType('music', 'Nhạc');">Nhạc</a> 
				<a id="search_cat4" name="blog" href="#" onClick="changeSearhType('blog', 'Blog');">Blog</a> 
			</div>			
          	<span><a id="selected_cat" class="searchText" href="#">Video</a></span>
        </div>
        	<form action="http://search.tamtay.vn" method="POST" id="header_search_form">
		        <input type="text" onkeypress="key_press(event)" onclick="check_search_content();" title="Nhập từ khóa cần tìm..." value="<?echo htmlspecialchars($q)?>" id="searchContent" name="q" style="color: rgb(0, 0, 0);"/>
		        <input type="hidden" name="f" value="video" id="search_type" />
		        <input type="submit" id="search" value="" class="searchButton" />
	       </form> 
      </div>
      <div class="clearThis"></div>
    </div>
     
    <div class="hdrBottom">
      <!--Start: Navigation-->
      <ul class="mainNav">
        <li><a href="http://www.tamtay.vn/home">Nhà&nbsp;tôi</a></li>        
        <li class="itemS"><a href="#"><span>Video</span></a></li>
        <li><a href="http://photo.tamtay.vn">Ảnh</a></li>
        <li><a href="http://music.tamtay.vn">Nhạc</a></li>
        <li><a href="http://blog.tamtay.vn">Blog</a></li>
        <li><a href="http://chat.tamtay.vn/chat">Chat</a></li>
        <li><a href="http://chat.tamtay.vn">Tiện&nbsp;ích</a></li>
        <li><a href="http://applications.tamtay.vn">Game</a></li>
	<li><a href="http://tcoin.tamtay.vn">Ngân hàng</a></li>
        <li onmouseout="document.getElementById('navPlus').style.visibility='hidden'" onmouseover="document.getElementById('navPlus').style.visibility='visible'">
          <div id="navPlus" class="tt_ddmenu">
          	<a href="http://www.tamtay.vn/group/forum">Diễn đàn</a>
            <a href="http://www.tamtay.vn/event">Sự kiện</a>
            <a href="http://www.tamtay.vn/group">Nhóm</a>
            <a href="http://www.tamtay.vn/mybookmark/all">Link hay</a>
            <a href="http://www.tamtay.vn/myttnetwork/home">Cộng đồng</a>
            <a href="http://raovat.tamtay.vn/">Rao vặt</a>
          </div>
          <a href="#" class="itemMore">Thêm</a>
        </li>
        <li class="float-right last"><a href="http://www.tamtay.vn/mboard">Hỗ trợ</a></li>
        <?php
		  if ($user->uid <= 0)
		  {
		  ?>
        <li class="float-right"><a href="http://www.tamtay.vn/myttprofile/user/register">Đăng ký</a></li>
        <li class="float-right"><a href="#login_form" id="login_button">Đăng nhập</a></li>
        <?php } ?>
      </ul>
      <!--End: Navigation-->
      <?php
	  if ($user->uid <= 0)
	  {
	  ?>	  
      <!-- <div class="loginHdr"><a href="#login_form" id="login_button">Đăng nhập</a> <span>|</span> <a href="http://www.tamtay.vn/myttprofile/user/register">Đăng ký</a> </div> -->
	  <div id="login_form" style="display:none;">	
		<div id="sign_in">
			<div>
			<h2>Đăng nhập vào tamtay.vn</h2>
			<form id="uloginForm" name="uloginForm" method="post" action="/user/login">
				<fieldset class="inputs">
					<p>
					<label for="username">Tên truy cập</label>
					<input id="username" name="username" value="" class="text" type="text" title="Nhập tên truy cập"/>
					</p>
					<p>
					<label for="password">Mật khẩu</label>
					<input id="password" class="text" type="password" title="Nhập mật khẩu" name="password"/>
					</p>
					
					<br/>
				
				</fieldset>
				<fieldset class="buttons">
					<p>
					<span class="keeper">
					<input name="saveme" value="1" type="checkbox">
					Lưu mật khẩu | <a href="http://www.tamtay.vn/myttprofile/user/password" target="_blank">Quên mật khẩu ?</a>
					</span>
					<input type="submit" style="background:url(/images/signin.gif) no-repeat; width:79px; height:22px; border:0px; cursor:pointer;" title="Đăng nhập" value= " "/>
					</p>
				</fieldset>
			</form>
			</div>
		</div>
	  </div>		  
	  <?php }?>
      <div class="clearThis"></div>
    </div>
    <?php echo $this->layout()->menu;?>
    <div class="clear"></div>
  </div>
  <div class="clear"></div>
</div>
<!--End: Header-->
<div class="clear"></div>
<!--Start: Body-->
<div class="body">
  <div class="videoPage">
  	<div class="col01 float-left">
  		<?php echo $this->layout()->leftmenu;?>
  	</div>
  	<div class="col03 float-right">
    	<?php echo $this->layout()->content;?>
    </div>
  </div>
</div>
<!--End: Body-->
<!--Start: Bottom-->
<div class="footerWrap">
  <div class="footer">
    <div class="footerLink"> 
		<a title="Bản tin T" href="http://blog.tamtay.vn/T.Vongtaylonmai/blog">Bản tin T</a> <span>|</span> 
        <a title="Giới thiệu" href="http://www.tamtay.vn/group/detail/164">Giới thiệu</a> <span>|</span> 
        <a title="Điều khoản sử dụng" href="http://www.tamtay.vn/info/13046">Điều khoản sử dụng</a> <span>|</span> 
        <a title="Chính sách riêng tư" href="http://www.tamtay.vn/info/13047">Chính sách riêng tư</a> <span>|</span> 
        <a title="Quảng cáo" href="http://www.tamtay.vn/adv/adv.php">Quảng cáo</a> <span>|</span> 
        <a title="Tuyển dụng" href="http://www.tamtay.vn/info/13045">Tuyển dụng</a> <span>|</span> 
        <a title="Góp ý" href="http://www.tamtay.vn/advice">Góp ý</a> <span>|</span> 
        <a title="Liên hệ" href="http://www.tamtay.vn/info/13044">Liên hệ</a> <span>|</span> 
        <a title="For Investors" href="http://www.tamtay.vn/info/13048">For Investors</a> <span>|</span>
        <a title="For Developers" href="http://developer.tamtay.vn">For Developers</a> <span>|</span>		
        <a title="Đầu trang" href="#">Đầu trang</a>
    </div>
    <div class="copyRight">Giấy phép MXH số 16/GXN-TTDT, Giấy phép ICP số 531/GP-CBC. Ghi rõ nguồn &quot;Tamtay.vn&quot; khi bạn phát hành lại thông tin từ website này. Copyright 2007-2011 Tamtay.vn</div>
  </div>
</div>
<!--End: Bottom-->

<!-- GA -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
	var pageTracker = _gat._getTracker("UA-1998116-1");
	pageTracker._setDomainName(".tamtay.vn");
	pageTracker._trackPageview();
} catch(err) {}

try {
var vTracker = _gat._getTracker("UA-1998116-9");
vTracker._trackPageview();
} catch(err) {}
</script>

</body>
</html>
